package com.dsx.myblog;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    int id;
    String name;
    Date date = new Date();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public static User getSampleUser(){
        User user = new User();
        user.setId(112121223);
        user.setName("dsx");
        return user;
    }

}
